<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
  <link rel="stylesheet" href="/assets/editormd/css/editormd.min.css">

  <title>Document</title>
</head>
<body>

<div class="container">

  {{template "header"}}

  <div class="row justify-content-center mt-3">

    <div class="col-md-4">
      <p>首页...</p>
      <h1>{{.}}</h1>
    </div>
  </div>

</div>


<div id="test-editor">
    <textarea style="display:none;">### 关于 Editor.md

**Editor.md** 是一款开源的、可嵌入的 Markdown 在线编辑器（组件），基于 CodeMirror、jQuery 和 Marked 构建。
    </textarea>
</div>
<script src="https://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="/assets/editormd/editormd.min.js"></script>
<script type="text/javascript">
  $(function() {
    var editor = editormd("test-editor", {
      // width  : "100%",
      height : 600,
      path   : "assets/editormd/lib/"
    });
  });
</script>

</body>
</html>